package com.yanqu.road.entity.match;

import com.yanqu.road.entity.DataObject;
import com.yanqu.road.entity.player.UserBaseInfo;

/**
 * @author ：zfr
 * @date ：2021/3/18 18:32
 */
public class RankRemoveData extends DataObject {
    private int weekId;
    private long serverId;
    private long userId;
    private UserBaseInfo userBaseInfo;
    private long value;

    public int getWeekId() {
        return weekId;
    }

    public void setWeekId(int weekId) {
        this.weekId = weekId;
    }

    public long getServerId() {
        return serverId;
    }

    public void setServerId(long serverId) {
        this.serverId = serverId;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public UserBaseInfo getUserBaseInfo() {
        return userBaseInfo;
    }

    public void setUserBaseInfo(UserBaseInfo userBaseInfo) {
        this.userBaseInfo = userBaseInfo;
        setUpdateOption();
    }

    public long getValue() {
        return value;
    }

    public void setValue(long value) {
        if (this.value != value) {
            this.value = value;
            setUpdateOption();
        }
    }
}
